/**
 * @Author: Wang chunsheng  email:2192138785@qq.com
 * @Date:   2022-03-16 17:09:28
 * @Last Modified by:   Wang chunsheng  email:2192138785@qq.com
 * @Last Modified time: 2022-03-28 18:51:00
 */

//   酒店-周边管理

import request from '@projectName/utils/request'

export function rimIndex(data) {
  return request({
    url: '/diandi_place/place/rim/index',
    method: 'get',
    params: data
  })
}

export function rimView(id) {
  return request({
    url: `/diandi_place/place/rim/view/${id}`,
    method: 'get'
  })
}

export function rimCreate(data) {
  return request({
    url: '/diandi_place/place/rim/create',
    method: 'post',
    data: data
  })
}

export function rimUpdate(data) {
  return request({
    url: `/diandi_place/place/rim/update/${data.id}`,
    method: 'put',
    data: data
  })
}

export function rimDelete(id) {
  return request({
    url: `/diandi_place/place/rim/delete/${id}`,
    method: 'delete'
  })
}

export function rimInit(data) {
  return request({
    url: '/diandi_place/place/rim/init',
    method: 'get',
    data: data
  })
}

